<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>裁断排版历史</title>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
	<script src="../../script/mes-import.js"></script>
</head>
<body style="padding: 10px;" id="pageBody">
<form class="layui-form" action="" lay-filter="myForm">
	<div class="layui-form-item">
		<div class="layui-input-inline">
			<label class="layui-form-label" style="text-align: right;">工单号：</label>
			<div class="layui-input-block">
				<input type="text" name="code" id="code" v-model="code" class="layui-input">
			</div>
		</div>
		<div class="layui-input-inline">
			<label class="layui-form-label">颜色：</label>
			<div class="layui-input-block">
				<select name="colorId" id="colorId" v-model="colorId" style="max-width: 400px;">
					<option value="">--请选择--</option>
					<option v-for="c in colors"  value="{{c.ID}}">{{c.NAME}}</option>
				</select>
			</div>
		</div>
		<div class="layui-input-inline">
			<label class="layui-form-label">材质:</label>
			<div class="layui-input-block">
				<input id="product" name="product" v-model="product" autocomplete="off" class="layui-input"/>
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-inline">
			<label class="layui-form-label" style="text-align: right;">排版时间：</label>
			<div class="layui-input-block">
				<input type="text" name="beginTime" id="beginTime" v-model="beginTime" placeholder="开始时间" placeholder="yyyy-MM-dd HH:mm" class="layui-input">
			</div>
		</div>
		<div class="layui-input-inline">
			<label class="layui-form-label" style="text-align: center;">~</label>
			<div class="layui-input-block">
				<input type="text" name="endTime" id="endTime" v-model="endTime" placeholder="结束时间" placeholder="yyyy-MM-dd HH:mm" class="layui-input">
			</div>
		</div>
		<div class="layui-input-inline">
			<label class="layui-form-label"></label>
			<div class="layui-input-block">
				<button class="layui-btn" type="button" @click="searchData">查询</button>
				<!--<button class="layui-btn" type="button" style="background-color: #F3982B" @click="send">重新排版</button>-->
			</div>
		</div>
	</div>
</form>
<div id="barBtn" style="display: none;">
	<button class="layui-btn" type="button" onclick="submitData()">排版作业</button>
</div>
<div id="dataGrid"></div>
<script src="js/cdJobHistory.js"></script>
</body>
</html>